#include <stdio.h>
#include <time.h>
#include <stdlib.h>
const int INF = 1000000;
int main(){
	int n;
	n=1000;
	srand(time(NULL));
	while (n--){
		int a=rand()%INF;
		int b=rand()%INF;
		printf("%d %d\n",a,b);
	}
	return 0;
}
